﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Model.Entity.Use
{
    /// <summary>
    /// 用户钱包
    /// </summary>
    [SugarTable("use_user_wallet")]
    public class UserWallet : BaseEntity
    {
        /// <summary>
        /// 
        /// </summary>
        public UserWallet()
        {
        }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }
        
        /// <summary>
        /// 累计佣金
        /// </summary>
        public decimal Brokerage { get; set; }
        
        /// <summary>
        /// 累计奖金
        /// </summary>
        public decimal Bonus { get; set; }
        
        /// <summary>
        /// 累计分红
        /// </summary>
        public decimal Dividend { get; set; }

        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }

        /// <summary>
        /// 待结算
        /// </summary>
        public decimal Surplus { get; set; }

        /// <summary>
        /// 提现金额
        /// </summary>
        public decimal Withdrawable { get; set; }
    }
}
